<div id="viewer-container"></div>
<div class="label-info">点击左上角源码按钮，打开在线编辑器！</div>
<script>
  CTS.ready(() => {
    let viewer = new CTS.Viewer('viewer-container') //初始化场景
    let modeloader = new CTS.ModelLoder(viewer)
    modeloader.loadModelToScene('resources/model/building1.glb', _models => {
      _models.openCastShadow()
      _models.openReceiveShadow()
    }) //加载模型
    let fps = new CTS.FPS(viewer, { speed: 5 })
    fps.start()
  })
</script>
